home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000076_icon-group-sender _Tue Jun 9 08:29:15 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id IAA00493
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 9 Jun 1998 08:29:14 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA15308; Tue, 9 Jun 1998 08:29:06 -0700
  7. Date: Tue, 9 Jun 1998 13:27:10 +1200 (NZST)
  8. From: "Richard A. O'Keefe" <ok@atlas.otago.ac.nz>
  9. Message-Id: <199806090127.NAA12029@atlas.otago.ac.nz>
  10. To: evans@gte.net, vladimir.grodzenski@capway.com
  11. Subject: Re: Directory access facilities
  12. Cc: icon-group@optima.CS.Arizona.EDU
  13. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  14. Status: RO
  15. Content-Length: 987
  16.  
  17.     procedure dirlist(path, recurse_flag, filter)
  18.       return list of subdirectories
  19.     end
  20.     
  21. What's a recurse flag?  If it's just true/false, it's no use.  How do
  22. you control whether mount points are crossed?  Whether symbolic links
  23. (aliases in MacSpeak) are followed?  How cycles (possible in the
  24. presence of aliases) are to be handled?  Is the list depth first,
  25. breadth first, or alphabetic (ascii or by locale)?  What are the
  26. arguments of the filter and what can it request?  What about directories
  27. that are known to be directories but cannot be read?  What about
  28. symbolic links whose target has disappeared?
  29.  
  30.     procedure filelist(-idem-)
  31.       return list of files
  32.     end
  33.     
  34. Ditto.
  35.  
  36. People could at least take a serious look at ftw()/nftw().
  37. Other people have had three-quarter baked ideas; no need
  38. for us to half-bake our own.  nftw() exists because ftw(),
  39. which is richer than this proposal, just plain wasn't good enough.
  40.  
  41. If people won't buy "copy tcl", will they buy "look hard at nftw()?"
  42.